package io.renren.modules.sys.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/zlm")
public class HelloController {

    private Logger logger= LoggerFactory.getLogger(this.getClass());
    @RequestMapping("/hello")
    public String index() {
        logger.debug("debug:{}","测试debug");
        logger.info("info:{}","测试info");
        logger.warn("warn:{}","测试warn");
        logger.error("error:{}","测试error");
        logger.error("error:{}","测试error");
        logger.error("error:{}","测试error22");
        return "Hello World";
    }

}